package com.xbs.service.enterprise;

import java.util.List;

import com.xbs.dao.enterprise.EpOrderQueryAdminDao;
import com.xbs.entity.EpOrderAdminEntity;
import com.xbs.entity.EpOrderAdminQueryEntity;
import com.xbs.utils.PageUtilEntity;

public class EpOrderQueryAdminService {
	EpOrderQueryAdminDao dao=new EpOrderQueryAdminDao();
	/**
	 * 通过条件获取订单 信息
	 */
	public PageUtilEntity<EpOrderAdminEntity> getOrdersByMul(EpOrderAdminQueryEntity e,int curr,int size){
		PageUtilEntity<EpOrderAdminEntity> page=new PageUtilEntity<>();
		page.setIst(dao.getOrderByQuery(e,curr,size));
		page.setCurrpage(curr);
		page.setPageSize(size);
		page.setSumRecord(dao.getSum(e));
		return page;
	}
}
